package com.topboya.linker.model;

import com.topboya.linker.model.levelitem.FollowUserGroup;

import java.util.List;

//在随访人中保存组织架构信息，在搜索中获取
public class OrgzitionManager {

    private static OrgzitionManager orgzitionManager;
    private  List<FollowUserGroup>  setfollowUserGroupsData;
    private OrgzitionManager(){ }

    public static OrgzitionManager getIntanse(){

        if (null ==orgzitionManager){

            synchronized (OrgzitionManager.class){

                if (null ==orgzitionManager){

                    orgzitionManager = new OrgzitionManager();

                }
            }
        }

        return orgzitionManager;
    }

    public  void setfollowUserGroupsData(List<FollowUserGroup>  setfollowUserGroupsData){

        this.setfollowUserGroupsData = setfollowUserGroupsData;

    }

    public List<FollowUserGroup>  getfollowUserGroupsData(){

        return setfollowUserGroupsData;
    }
}
